using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;
using System.Data;

namespace Merchandising_Software.TrimNew.report
{
    public partial class rptTrimBooking : DevExpress.XtraReports.UI.XtraReport
    {
        public rptTrimBooking(int BMID)
        {
            InitializeComponent();
            COMOSOFT.MatarialManagement.Dataset.DataSetBalancingTableAdapters.BookingMasterTableAdapter adt = new COMOSOFT.MatarialManagement.Dataset.DataSetBalancingTableAdapters.BookingMasterTableAdapter();            
            COMOSOFT.MatarialManagement.Dataset.DataSetBalancingTableAdapters.sp_BookDetailsTableAdapter adtBD = new COMOSOFT.MatarialManagement.Dataset.DataSetBalancingTableAdapters.sp_BookDetailsTableAdapter();
            adt.Fill(this.dataSetBalancing1.BookingMaster, BMID);
            adtBD.Fill(this.dataSetBalancing1.sp_BookDetails, BMID);
        }
    }
}
